﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TSharp.Core.Authorization.Resources
{
    /// <summary>
    /// 资源
    /// </summary>
    public interface IResource
    {
        /// <summary>
        /// 资源标识
        /// </summary>
        Guid Id { get; }

        /// <summary>
        /// 父ID
        /// </summary>
        Guid? ParentId { get; set; }

        /// <summary>
        /// 资源名称
        /// </summary>
        String Title { get; }
    }
}
